while True: num = input("Enter the number: ") if num == "": break number = int(num) print("The square of the number ",number," is: ", number*number) print("User entered a null string")